#ifndef CLIENTHANDLE_H
#define CLIENTHANDLE_H

#include <QObject>
#include <QTcpSocket>

class ClientHandle : public QObject
{
    Q_OBJECT
public:
    explicit ClientHandle(int sockfd,QObject *parent = nullptr);

private slots:

    void recvInfo();
public slots:
    void working();

signals:

private:
    qintptr socketDescriptor;
    QTcpSocket *socket;
};

#endif // CLIENTHANDLE_H
